package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * CTassName: UserMapper
 * Package: com.sky.mapper
 * Description:
 * 微信端 小程序--登录
 */
@Mapper
public interface UserMapper {

    // 登录
    User getByOpenid(String code);

    // 添加用户
    int insert(User user);
}
